package com.sky.mapper;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;
@Mapper
public interface ReportMapper {
    @MapKey("name")
    List<Map<String, Object>> getSalesTop10(LocalDateTime begin,LocalDateTime end);
    Integer getNewUsers(LocalDateTime begin,LocalDateTime end);
    BigDecimal getTurnover(LocalDateTime begin, LocalDateTime end, Integer status);
    Integer getOrderCount(LocalDateTime begin, LocalDateTime end, Integer status);
}
